<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.HashMap" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>시골가게 비밀번호 찾기</title>
<link href="./css/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<form action="passwordFind.action"><br>
<table width="753" border="0">
<tr>
<td height="23" colspan="3" align="center" >

</td>
</tr>

	<tr>
		<td height="5" colspan="3"></td>
	</tr>

<tr>
<td align="center">
ID <input type="text" name="id" size="28">
</td>
<td align="center">
이름 <input type="text" name="name" size="28"></td>
<td align="center">
연락처 <input type="text" name="phone" size="35">
</td>
<td>
<input type="submit" value="찾기" class="BBUTTON">
</td>
</tr>

	<tr>
		<td height="5" colspan="3"></td>
	</tr>

<s:if test='%{resultClass.password != null}'>
<tr>
<td colspan="3" align="center">
${resultClass.name} 님의 패스워드는 ${resultClass.password}입니다.
</td>
</tr>
</s:if>

<tr><td colspan="3" align="center"><br>
<input type="button" value="메인으로" 
onClick="javascript:location.href='main.action';" style="width: 175px; ">
<br><br></td></tr>
</table><br>
</form>
</body>
</html>